package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesHaloConditions 光环活动条件
type DanceActivitiesHaloConditions struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"` // 开始时间
	Score        int64          `json:"score" gorm:"column:score;type:bigint;default:0;not null;comment:分门槛"`                 // 开始时间
	DayNumber    int64          `json:"dayNumber" gorm:"column:day_number;type:bigint;default:0;not null;comment:有效天数"`       // 结束时间
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`     // 创建人id
	ElementId    int64          `json:"elementId" gorm:"column:element_id;type:bigint;default:0;not null;comment:元素id"`       // 结束时间
	ElementNo    int64          `json:"elementNo" gorm:"column:element_no;type:bigint;default:0;not null;comment:元素编号"`       // 元素编号
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
